package com.diy.sigmund.diyorder.feign.client;

import com.diy.sigmund.diycommon.entity.ResultMsg;
import com.diy.sigmund.diyorder.feign.fallback.UserClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author ylm-sigmund
 * @since 2021/11/5 16:13
 */
@FeignClient(value = "diy-user", contextId = "PointProcessingClient", fallbackFactory = UserClientFallbackFactory.class)
public interface PointProcessingClient {

    @PostMapping("/user/pointProcessing/decrease")
    ResultMsg decrease();
}
